package com.zeny.express.framework.scheduler.entity;

import java.util.Date;

import com.zeny.express.framework.shared.domain.BaseEntity;

/**
 * 调度信息实体
 * 
 * @author zhuwei
 * @date 2013年10月19日 下午5:49:46
 */
public class SchedulerInfoEntity extends BaseEntity {

	/**
	 * 调度名称
	 */
	private String schedulerName;

	/**
	 * 任务类型（SIMPLE或CRON）
	 */
	private String jobType;

	/**
	 * 任务名称
	 */
	private String jobId;

	/**
	 * 任务名称
	 */
	private String jobName;

	/**
	 * 任务描述
	 */
	private String jobDescription;

	/**
	 * 是否启用
	 */
	private String active;

	/**
	 * CRON表达式
	 */
	private String cronExpression;

	/**
	 * SIMPLE间隔时间
	 */
	private Integer simpleRepeatIntervel;

	/**
	 * 线程数
	 */
	private Integer threadCount;

	/**
	 * 线程号
	 */
	private Integer threadNo;

	/**
	 * 参数
	 */
	private String param;

	/**
	 * 开始时间
	 */
	private Date beginTime;

	/**
	 * 截止时间
	 */
	private Date endTime;

	/**
	 * 是否异常
	 */
	private String isException;

	/**
	 * @return schedulerName
	 */
	public String getSchedulerName() {
		return schedulerName;
	}

	/**
	 * @param schedulerName
	 */
	public void setSchedulerName(String schedulerName) {
		this.schedulerName = schedulerName;
	}

	/**
	 * @return jobType
	 */
	public String getJobType() {
		return jobType;
	}

	/**
	 * @param jobType
	 */
	public void setJobType(String jobType) {
		this.jobType = jobType;
	}

	/**
	 * @return jobName
	 */
	public String getJobName() {
		return jobName;
	}

	/**
	 * @param jobName
	 */
	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	/**
	 * @return jobDescription
	 */
	public String getJobDescription() {
		return jobDescription;
	}

	/**
	 * @param jobDescription
	 */
	public void setJobDescription(String jobDescription) {
		this.jobDescription = jobDescription;
	}

	/**
	 * @return active
	 */
	public String getActive() {
		return active;
	}

	/**
	 * @param active
	 */
	public void setActive(String active) {
		this.active = active;
	}

	/**
	 * @return cronExpression
	 */
	public String getCronExpression() {
		return cronExpression;
	}

	/**
	 * @param cronExpression
	 */
	public void setCronExpression(String cronExpression) {
		this.cronExpression = cronExpression;
	}

	/**
	 * @return simpleRepeatIntervel
	 */
	public Integer getSimpleRepeatIntervel() {
		return simpleRepeatIntervel;
	}

	/**
	 * @param simpleRepeatIntervel
	 */
	public void setSimpleRepeatIntervel(Integer simpleRepeatIntervel) {
		this.simpleRepeatIntervel = simpleRepeatIntervel;
	}

	/**
	 * @return param
	 */
	public String getParam() {
		return param;
	}

	/**
	 * @param param
	 */
	public void setParam(String param) {
		this.param = param;
	}

	/**
	 * @return jobId
	 */
	public String getJobId() {
		return jobId;
	}

	/**
	 * @param jobId
	 */
	public void setJobId(String jobId) {
		this.jobId = jobId;
	}

	/**
	 * @return threadCount
	 */
	public Integer getThreadCount() {
		return threadCount;
	}

	/**
	 * @param threadCount
	 */
	public void setThreadCount(Integer threadCount) {
		this.threadCount = threadCount;
	}

	/**
	 * @return threadNo
	 */
	public Integer getThreadNo() {
		return threadNo;
	}

	/**
	 * @param threadNo
	 */
	public void setThreadNo(Integer threadNo) {
		this.threadNo = threadNo;
	}

	/**
	 * @return beginTime
	 */
	public Date getBeginTime() {
		return beginTime;
	}

	/**
	 * @param beginTime
	 */
	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	/**
	 * @return endTime
	 */
	public Date getEndTime() {
		return endTime;
	}

	/**
	 * @param endTime
	 */
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	/**
	 * @return isException
	 */
	public String getIsException() {
		return isException;
	}

	/**
	 * @param isException
	 */
	public void setIsException(String isException) {
		this.isException = isException;
	}

}